package com.hy.study.utils;

/**
 * 普通返回码
 */
public class StatusCode {

    public static final int OK = 200;// 成功
    public static final int SYSTEM_ERR = 500;// 服务器运行异常
    public static final int REQUEST_NOT_FOUND = 404;// 访问地址不存在
    public static final int HTTP_ERROR_100 = 100;// 1XX错误
    public static final int HTTP_ERROR_300 = 300;// 3XX错误
    public static final int HTTP_ERROR_400 = 400;// 4XX错误
    public static final int HTTP_ERROR_500 = 500;// 5XX错误

    public static final int BAD_REQUEST = 407;// 参数解析失败
    public static final int METHOD_NOT_ALLOWED = 405;// 不支持当前请求方法
}